package 练习06_线程池模拟批量导入数据;

/**
 * @ClassName: Student
 * @Author: AllenSun
 * @Date: 2022/3/22 下午10:27
 */
public class Student {
    private String name;
    private int age;
    private int heigh;
    private String hoby;

    public Student(String name, int age, int heigh, String hoby) {
        this.name = name;
        this.age = age;
        this.heigh = heigh;
        this.hoby = hoby;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getHeigh() {
        return heigh;
    }

    public void setHeigh(int heigh) {
        this.heigh = heigh;
    }

    public String getHoby() {
        return hoby;
    }

    public void setHoby(String hoby) {
        this.hoby = hoby;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", heigh=" + heigh +
                ", hoby='" + hoby + '\'' +
                '}';
    }
}
